package com.jk.dao;

import com.jk.entity.ClothEntity;
import com.jk.entity.Payment;
import com.jk.entity.cartOrderEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @详细介绍类情况.
 * @ClassName CartDao
 * @Author 王倚天
 * @Date 2022/6/1
 * @Version 1.0
 */
@Repository
public interface CartDao {

    List<ClothEntity> findShopCart(Integer userId);

    void deleteById(Integer id);

    void deleteByIds(String[] ids);

    ClothEntity getcartById(Integer id);

    void updateById(ClothEntity cloth);

    void deleteByIdss(String[] ids);

    void addcarOrder(cartOrderEntity cartOrderEntity1);

    List<Payment> queryOrder(Integer userId);

}
